package tech.threekilogram.contenttransitiontest;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

/**
 * @author liujin
 */
public class MainActivity extends AppCompatActivity {

      @Override
      protected void onCreate ( Bundle savedInstanceState ) {

            super.onCreate( savedInstanceState );
            setContentView( R.layout.activity_main );
      }

      public void explode ( View view ) {

            ExplodeActivity.start( this );
      }

      public void slide ( View view ) {

            SlideActivity.start( this );
      }

      public void fade ( View view ) {

            FadeActivity.start( this );
      }

      public void shareImage ( View view ) {

            ShareElementActivity.start( this, view, "image" );
      }

      public void sharePager ( View view ) {

            ShareElementPagerActivity.start( this, view, "image" );
            //ShareElementPagerActivity.start( this );
      }
}
